<?php
/**
 * 系統名稱: Lotto 系統
 * 檔案說明: 專案管理-修改
 * $Author$
 * $Id$
 *
 */
include_once("../../config.inc.php");

session_start();
$_LangPath = "autosupplesetting";
$strTemplatePath = __Admintemplate_Path."/AutoSuppleSetting/";
include(__Language_Path."/selectlanguage_admin.php");
include(__Modules_Path."/Utility.lib.php");
include(__Modules_Path."/SQLUtility.lib.php");
include(__Modules_Path."/Member.lib.php");
include(__Modules_Path."/BetLimit.lib.php");
include(__Modules_Path."/Commission.lib.php");
include(__Modules_Path."/ChangeTime.lib.php");
include(__Modules_Path."/Tool.lib.php");
include(__Modules_Path."/Gamble.lib.php");

//$arrPower = CheckUsePower("autosupplesetting");
//if($arrPower === false)ErrMsgOutputHTML("Error", "", 1);

$SessionSQL = "bet_AutoSuppleSettingSQLA";

$intID = $_SESSION["Admin_Info"] -> ID;
switch($_data["op"]){
	case "MultiCParamsUpdate":					//批次更改退水和限額
		include(__Admin_Path."/logincheck.php");
		include("MultiCParamsUpdate.php");
		break;

	case "CommParams":							//編輯退水和限額
	default:									//清單
		include(__Common_Path."/Lotto.inc.php");
		include(__Admin_Path."/logincheck_agent_report.php");
		include("CommParams.php");
		break;
}
@mysql_close($$_Conn);
?>